package com.mall.application.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author wuyijie
 * @className: ApplicationEditParam
 * @description: TODO
 * @date 2021/6/12 15:52
 */
@Data
@ApiModel(value = "Application修改参数", description = "")
@AllArgsConstructor
@NoArgsConstructor
public class ApplicationEditParam extends ApplicationAddParam {
    @ApiModelProperty(value = "主键", name = "id")
    @NotNull(message = "主键不能为空")
    private int id;
}
